package io.github.talelin.latticy.common.enumeration;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @authoer:wulongbo
 * @createDate:2022/6/28
 * @description:
 */
@AllArgsConstructor
@Getter
public enum ShipTypeEnum {

    /**
     * 公路运输
     */
    ROAD_TRANSPORT(1,"公路运输"),

    /**
     * 铁路运输
     */
    RAILWAY_TRANSPORT(2,"铁路运输"),

    /**
     * 水路运输
     */
    WATERWAY_TRANSPORT(3,"水路运输"),

    /**
     * 航空运输
     */
    AVIATION_TRANSPORT(4,"航空运输"),

    /**
     * 管道运输
     */
    PIPELINE_TRANSPORT(5,"管道运输");

    @EnumValue
    private Integer shipType;

    @JsonValue    //标记响应json值
    private String shipTypeDesc;
}
